/**
 * @param {string} order
 * @param {string} s
 * @return {string}
 */
var customSortString = function (order, s) {
  let map = new map()
  let i = 0
  for (const c of order) {
    map.set(c, i++)
  }
  let str = s[0]
  let index = map.has(s[0]) ? map.get(s[0]) : -1
  for (let i = 1; i < s.length; i++) {
    if (map.has(s[i])) {
      
    }
  }
}
